home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / Visual Cafe Pro v1.0 / TUTORIAL.BIN / RelationViewMetaData.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-01-30  |  3.0 KB  |  100 lines

  1. package symantec.itools.db.pro;
  2.  
  3. import java.util.Vector;
  4. import symantec.itools.db.net.Entity;
  5. import symjava.sql.SQLException;
  6.  
  7. public class RelationViewMetaData {
  8.    private RelationView _relView;
  9.    private Entity _entity;
  10.  
  11.    RelationViewMetaData(RelationView relView, Entity entity) {
  12.       this._relView = relView;
  13.       this._entity = entity;
  14.    }
  15.  
  16.    public Vector getColumnList() throws SQLException {
  17.       return this._entity.getColumnList();
  18.    }
  19.  
  20.    public int getColumnCount() throws SQLException {
  21.       return this._entity.getColumnCount();
  22.    }
  23.  
  24.    public boolean isAutoIncrement(int column) throws SQLException {
  25.       return this._entity.isAutoIncrement(column);
  26.    }
  27.  
  28.    public boolean isCaseSensitive(int column) throws SQLException {
  29.       return this._entity.isCaseSensitive(column);
  30.    }
  31.  
  32.    public boolean isSearchable(int column) throws SQLException {
  33.       return this._entity.isSearchable(column);
  34.    }
  35.  
  36.    public boolean isCurrency(int column) throws SQLException {
  37.       return this._entity.isCurrency(column);
  38.    }
  39.  
  40.    public int isNullable(int column) throws SQLException {
  41.       return this._entity.isNullable(column);
  42.    }
  43.  
  44.    public boolean isSigned(int column) throws SQLException {
  45.       return this._entity.isSigned(column);
  46.    }
  47.  
  48.    public int getColumnDisplaySize(int column) throws SQLException {
  49.       return this._entity.getColumnDisplaySize(column);
  50.    }
  51.  
  52.    public String getColumnLabel(int column) throws SQLException {
  53.       return this._entity.getColumnLabel(column);
  54.    }
  55.  
  56.    public String getColumnName(int column) throws SQLException {
  57.       return this._entity.getColumnName(column);
  58.    }
  59.  
  60.    public String getSchemaName(int column) throws SQLException {
  61.       return this._entity.getSchemaName(column);
  62.    }
  63.  
  64.    public int getPrecision(int column) throws SQLException {
  65.       return this._entity.getPrecision(column);
  66.    }
  67.  
  68.    public int getScale(int column) throws SQLException {
  69.       return this._entity.getScale(column);
  70.    }
  71.  
  72.    public String getTableName(int column) throws SQLException {
  73.       return this._entity.getTableName(column);
  74.    }
  75.  
  76.    public String getCatalogName(int column) throws SQLException {
  77.       return this._entity.getCatalogName(column);
  78.    }
  79.  
  80.    public int getColumnType(int column) throws SQLException {
  81.       return this._entity.getColumnType(column);
  82.    }
  83.  
  84.    public String getColumnTypeName(int column) throws SQLException {
  85.       return this._entity.getColumnTypeName(column);
  86.    }
  87.  
  88.    public boolean isReadOnly(int column) throws SQLException {
  89.       return this._entity.isReadOnly(column);
  90.    }
  91.  
  92.    public boolean isWritable(int column) throws SQLException {
  93.       return this._entity.isWritable(column);
  94.    }
  95.  
  96.    public boolean isDefinitelyWritable(int column) throws SQLException {
  97.       return this._entity.isDefinitelyWritable(column);
  98.    }
  99. }
  100.